Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fake is unable to return empty strings #347

Merged
merged 2 commits into from
Mar 24, 2022
Merged

Conversation

ST-DDT
Copy link
Member

@ST-DDT ST-DDT commented Jan 29, 2022

Fake should behave exactly like the methods being called directly.
That is if the called method returns an empty string, then fake should do the same (and not fail like it does right now).

@ST-DDT ST-DDT added the c: bug Something isn't working label Jan 29, 2022
@ST-DDT ST-DDT added this to the v6.1 - First bugfixes milestone Jan 29, 2022
@ST-DDT ST-DDT self-assigned this Jan 29, 2022
@ST-DDT ST-DDT requested a review from a team as a code owner January 29, 2022 14:38
@ST-DDT ST-DDT force-pushed the fix/fake-empty-result branch from f5ab86a to 95bab2c Compare February 6, 2022 15:49
@codecov
Copy link

codecov bot commented Feb 6, 2022

Codecov Report

Merging #347 (3f1c776) into main (9ce1551) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #347      +/-   ##
==========================================
- Coverage   99.33%   99.33%   -0.01%     
==========================================
  Files        1923     1923              
  Lines      176856   176860       +4     
  Branches      915      915              
==========================================
+ Hits       175688   175690       +2     
- Misses       1112     1114       +2     
  Partials       56       56              
Impacted Files Coverage Δ
src/fake.ts 100.00% <100.00%> (ø)
src/vendor/unique.ts 93.54% <0.00%> (-1.62%) ⬇️

@ST-DDT ST-DDT force-pushed the fix/fake-empty-result branch from 95bab2c to 237a50c Compare February 7, 2022 10:24
src/fake.ts Show resolved Hide resolved
src/fake.ts Show resolved Hide resolved
Shinigami92
Shinigami92 previously approved these changes Feb 12, 2022
@Shinigami92 Shinigami92 requested review from prisis and a team February 12, 2022 10:23
import-brain
import-brain previously approved these changes Feb 17, 2022
@import-brain import-brain added the p: 2-high Fix main branch label Feb 24, 2022
@ST-DDT ST-DDT dismissed stale reviews from import-brain and Shinigami92 via ec84e18 March 7, 2022 20:42
@ST-DDT ST-DDT force-pushed the fix/fake-empty-result branch from bb8163a to ec84e18 Compare March 7, 2022 20:42
Shinigami92
Shinigami92 previously approved these changes Mar 10, 2022
@Shinigami92 Shinigami92 requested a review from a team March 10, 2022 19:41
@Shinigami92 Shinigami92 added p: 1-normal Nothing urgent and removed p: 2-high Fix main branch labels Mar 15, 2022
@ST-DDT ST-DDT force-pushed the fix/fake-empty-result branch from ec84e18 to 3243697 Compare March 21, 2022 10:04
@ST-DDT ST-DDT force-pushed the fix/fake-empty-result branch from 3243697 to 015a24e Compare March 21, 2022 14:35
Shinigami92
Shinigami92 previously approved these changes Mar 21, 2022
@ST-DDT ST-DDT requested a review from a team March 21, 2022 17:43
@ST-DDT ST-DDT force-pushed the fix/fake-empty-result branch from 015a24e to b99fb8d Compare March 21, 2022 23:47
Shinigami92
Shinigami92 previously approved these changes Mar 22, 2022
@Shinigami92 Shinigami92 requested a review from a team March 22, 2022 14:58
@Shinigami92 Shinigami92 added the s: accepted Accepted feature / Confirmed bug label Mar 22, 2022
@Shinigami92 Shinigami92 merged commit 301a6d2 into main Mar 24, 2022
@Shinigami92 Shinigami92 deleted the fix/fake-empty-result branch March 24, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: bug Something isn't working p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants